import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { DissentVO, DissentQuery } from '@/api/xydz/dissent/types';

// 获取黑名单列表
export const getBlackList = (query?: DissentQuery): AxiosPromise<DissentVO[]> => {
  return request({
    url: '/xydz/credit/user/list',
    method: 'post',
    params: query
  });
};
